<%@page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@page import="java.util.Enumeration" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>使用 request 内置对象--requestShowInfo.jsp</title>
</head>
<body bgcolor="#ccffcc">
<h1>您刚才输入的内容是：<br></h1>
<%
  Enumeration enu = request.getParameterNames();
  while(enu.hasMoreElements()) {
    String parameterName = (String)enu.nextElement();
    String parameterValue = request.getParameter(parameterName);
    out.print("参数名称：" + parameterName + "<br>");
    out.print("参数内容：" + parameterValue + "<br>");
  }
%>
</body>
</html>